<?php

namespace App\Sdks\Ali;

use App\Sdks\Ali\Traits\AccessKey;
use App\Sdks\Ali\Traits\Request;
use App\Sdks\Ali\Traits\Sms;

class Ali
{
    use AccessKey;
    use Request;
    use Sms;

    /**
     * 公共接口地址
     */
    const BASE_URL = 'https://dysmsapi.aliyuncs.com';

    /**
     * RegionId
     */
    const RegionId = 'cn-hangzhou';

    /**
     * Ali constructor.
     * @param $accessKeyId
     * @param $accessKeySecret
     */
    public function __construct($accessKeyId, $accessKeySecret){
        $this->setAccessKey($accessKeyId, $accessKeySecret);
    }
}
